<?xml version="1.0" encoding="ISO-8859-1" ?>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <link rel="stylesheet" type="text/css" href="/Fatca_Classification/app1.css">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />


<style>
.error {
	color: red;
}
html { 
  background: url(images/fatca.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
</style>
</head>
<body >	
<center>
<div>   
<c:if test="${error == true}">
	<b class="error">Invalid login or password.</b>
</c:if>
</div>
</center>

<form method="post" action="<c:url value='j_spring_security_check'/>"  style="padding-left: 20%; padding-top: 21%;" >




        <div id="content" style="width: 64%; height: 305px; padding-bottom: 1px;">
            <div class="login-panel">

                <div style="width: 100%">
                    <div style="width: 49%; float: left;" >
                        <div class="logo">
                            <img alt="Virtusa Logo" title="Virtusa Logo" src="images/logo.jpg" /></div>
                        <br clear="all" />
                      
                        
                    
                    </div>
                    <div style="width: 51%; float: left;  background-color: #808080;">


                        <ul class="login-col2">
                            <li>
                                <span class="answer"><label for="j_username">Username</label></span>

                            </li>
                            <li><input data-val="true" data-val-required="The Username field is required." name="j_username" id="j_username" style="width:80%;" type="text" value="" /><br />
                                <span class="field-validation-valid" data-valmsg-for="UserName" data-valmsg-replace="true"></span></li>
                            <li>
                                <span class="answer"><label for="j_password">Password</label></span>

                            </li>
                            <li><input data-val="true" data-val-required="The Password field is required." name="j_password" id="j_password" style="width:80%;" type="password" /><br />
                                <span class="field-validation-valid" data-valmsg-for="Password" data-valmsg-replace="true"></span></li>
                            <li>
                                <input type="submit" value="Login" class="button" /></li>
                            <li>
                                <input data-val="true" data-val-required="The Remember me field is required." id="RememberMe" name="RememberMe" type="checkbox" value="true" /><input name="RememberMe" type="hidden" value="false" />
                                <span class="answer"><label class="checkbox" for="RememberMe">Remember me</label></span>
                            </li>

                            <li><a href="#" id="lostpwd" onclick="message()" class="lost-password">Lost your password?</a></li>
                   


                        </ul>

                    </div>
                </div>
            </div>
        </div>

   
    </form>

</body>
</html>